package com.study.zzedu.ui.exercise.bean;

import java.util.List;

/**
 * @Description:问题的实体类
 * @author：hzc
 */
public class QuestionBean extends BaseBean {

	private String subjectCode;// 题目ID
	private String type;//题目类型：1、单选 2、多选 3、判断
	private String content; // 题目
	private List<QuestionOptionBean> questionOptions; // 选项集合
	public QuestionBean() {
		super();
	}

	public QuestionBean(String subjectCode, String type, String content, List<QuestionOptionBean> questionOptions) {
		this.subjectCode = subjectCode;
		this.type = type;
		this.content = content;
		this.questionOptions = questionOptions;
	}

	public String getSubjectCode() {
		return subjectCode;
	}

	public void setSubjectCode(String subjectCode) {
		this.subjectCode = subjectCode;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public List<QuestionOptionBean> getQuestionOptions() {
		return questionOptions;
	}

	public void setQuestionOptions(List<QuestionOptionBean> questionOptions) {
		this.questionOptions = questionOptions;
	}

	@Override
	public String toString() {
		return "QuestionBean{" +
				"subjectCode='" + subjectCode + '\'' +
				", type='" + type + '\'' +
				", content='" + content + '\'' +
				", questionOptions=" + questionOptions +
				'}';
	}
}
